package org.rendao.model;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "chart")
@XmlAccessorType(XmlAccessType.FIELD)
public class FusionchartData {

	@XmlAttribute
	private String caption;
	
	@XmlAttribute
	private String xAxisName;
	
	@XmlAttribute
	private String yAxisName;
	
	@XmlElement(name="set")
	private List<FusionchartDataItem> dataSet;
	
	public String getCaption() {
		return caption;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getxAxisName() {
		return xAxisName;
	}

	public void setxAxisName(String xAxisName) {
		this.xAxisName = xAxisName;
	}

	public String getyAxisName() {
		return yAxisName;
	}

	public void setyAxisName(String yAxisName) {
		this.yAxisName = yAxisName;
	}

	public List<FusionchartDataItem> getDataSet() {
		return dataSet;
	}

	public void setDataSet(List<FusionchartDataItem> dataSet) {
		this.dataSet = dataSet;
	}
}
